package android.slc.user.ui.dept.delegate

import android.slc.extras.user.entity.SysDept
import android.slc.user.ui.dept.adapter.DeptBrowseAdapter
import android.slc.user.ui.dept.vmbox.DeptListBrowseVmBox
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

/**
 *
 * @Description:
 * @Author: sunlunchang
 * @CreateDate: 2021/12/06 下午 2:55
 *
 */
class DeptListBrowserDelegate : DeptListDelegate<DeptListBrowseVmBox>() {
    override fun getAdapter(list: MutableList<SysDept>): BaseQuickAdapter<SysDept, BaseViewHolder> {
        return DeptBrowseAdapter(list)
    }

}